<template lang="html">
  <div>
    <transition name="fade-transform" mode="out-in">
        <router-view />
    </transition>
  </div>
</template>

<script>
export default{

  methods:{
    accAdd(arg1,arg2){
         var r1,r2,m;
         try{r1=arg1.toString().split(".")[1].length}catch(e){r1=0};
         try{r2=arg2.toString().split(".")[1].length}catch(e){r2=0};
         m=Math.pow(10,Math.max(r1,r2));
         m = (arg1*m+arg2*m)/m;
         return m.toFixed(2);
    },
  }
}
</script>
<style >
  @import '../../../static/style.css';
  .userinfo{
    text-align: left;
    line-height: 30px;
    font-size: 14px;
  }
  .remarks{
    line-height: 20px;
    font-size: 14px;
    padding: 0 20px;
  }
  .remarks p{
    max-height: 60px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
  }
  .pro{
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
  }
  .pro_image{
    width: 80px;
    height: 100px;
    display: flex;
    margin-right: 15px;
    align-items: center;
    overflow: hidden;
  }
  .pro_image img{
    width: 100%;
    display: block;
  }
  .pro_info{
    line-height: 25px;
    text-align: left;
    width: 65%;
  }
  .pro_name{
    color: #666666;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .num_color,.address{
    color: #999;
  }
  .total{
      padding-top: 20px;
      font-size: 14px;
      text-align: right;
  }
  .totalSpan{
    font-size:18px;
    color:#FB3D3D;
    font-weight:600;
  }
</style>
